package com.xdap.keymen.entity;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.Style;
import com.definesys.mpaas.query.annotation.Table;
import com.xdap.api.moudle.base.entity.NoTenBasePojo;
import lombok.*;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Table(value = "punch_sales_order_product")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Style()
public class PunchOrderItemEntity extends NoTenBasePojo {
    private String id;

    @Column("document_id")
    private String documentId;

    @Column("tab_doc_id")
    private String tabDocId;
    @Column("rvid")
    private long rvid;

    @Column("co_num")
    private String co_num;

    @Column("sales_order_line_number")
    private String co_line;
    @Column("quotation_number")
    private String ref_num;
    @Column("ref_line")
    private String ref_line;
    @Column("ref_type")
    private String ref_type;


    @Column("material_code")
    private String item;

    @Column("material_description")
    private String Description;
    @Column("discounted_price")
    private double end_price;
    @Column("RMB_price")
    private double RMB_price;

    @Column("price")
    private double price;
    @Column("unit")
    private String u_m;

    @Column("order_quantity")
    private int qty_ordered;

    @Column("purchase_quantity")
    private int qty_po;

    @Column("delivery_quantity")
    private int qty_shipped;
    @Column("manufacturing_quantity")
    private int qty_manufacture;
    @Column("due_date")
    private String due_date;
    @Column("shipment_date")
    private String ship_date;

    @Column("client_number")
    private String cust_po;
    @Column("customer_materials")
    private String cust_item;

    @Column("reservation_quantity")
    private int qty_rsvd;

    @Column("stat")
    private String stat;

    @Column("prod_class1")
    private String prod_class1;

    @Column("prod_class2")
    private String prod_class2;

    @Column("whse")
    private String whse;

    @Column("deal_mode")
    private String deal_mode;

    @Column("make_add_no")
    private String make_add_no;

}
